package com.lx.person.entity;

/**
 * @author 柳新宽
 * @create 2022-03-21  10:03
 * @describe
 */
public class Person {
    private String cardId;//身份证
    private String name;
    private String gender;
    private String homeTown;

    public void showMe(){
        System.out.println(getCardId()+";"+getName()+";"+getGender()+";"+getHomeTown());
    }

    public void addFild(String cardId,String name,String gender,String homeTown){
        this.cardId=cardId;
        this.name=name;
        this.gender=gender;
        this.homeTown=homeTown;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getHomeTown() {
        return homeTown;
    }

    public void setHomeTown(String homeTown) {
        this.homeTown = homeTown;
    }
}
